﻿@model NFine.Code.OperatorModel
@{
    ViewBag.Title = "个人中心";
    Layout = "~/Areas/WeiXinAreas/Views/Shared/_LayoutWeui.cshtml";
}
<style>
    body {
        margin: 0px;
        padding: 0px;
        line-height: normal;
    }

    .weui-cells {
    }

    .userheard {
        width: 3rem;
        height: 3rem;
        -webkit-border-radius: 100%;
        border-radius: 100%;
        overflow: hidden;
        margin-right: .5rem;
    }

    .gnimg img {
        height: 1.5rem;
    }

    .gnname p {
        font-size: .7rem;
        color: #86858a;
    }
</style>
<div class="weui-cells">
    <a class="weui-cell weui-cell_access" href="SetUserInfo">
        <div class="weui-cell__hd userheard"><img src="@Model.USERHEAD" style="width:100%; height:100%; display:block;"></div>
        <div class="weui-cell__bd">
            <p>@Model.UserName</p>
            <span style="font-size:12px; color:#86858a;">工号：@Model.UserCode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;级别：@ViewData["level"] </span>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
</div>

<div class="weui-cells" style="background-color:#35a4fe;">
    <div class="weui-cell">
        <div class="weui-cell__bd">
            <div style="padding-left:2rem; padding-right:2rem;">
                <div style="width:50%; float:left; margin-top:.5rem;">
                    <div style="font-size:.7rem; color:#fff;">总收入</div>
                    <div style="color:#fdcb07; font-size:1rem;">¥@ViewData["all"]</div>
                </div>
                <div style="width:50%; float:left; margin-top:.5rem;">
                    <div style="font-size:.7rem; color:#fff;">当月收入</div>
                    <div style="color:#fdcb07; font-size:1rem;">¥@ViewData["cur"] </div>
                </div>
                <div style="width:50%; float:left; margin-top:.5rem;">
                    <div style="font-size:.7rem; color:#fff;">总提现</div>
                    <div style="color:#fdcb07; font-size:1rem;">¥@ViewData["tixian"]</div>
                </div>

                <div style="width:50%; float:left; margin-top:.5rem;">
                    <div style="font-size:.7rem; color:#fff;">账户余额</div>
                    <div style="color:#fdcb07; font-size:1rem;">¥@ViewData["bouns"] </div>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="weui-cells">
    <a class="weui-cell weui-cell_access" href="~/WeiXinAreas/Main/OrderList">
        <div class="weui-cell__hd gnimg"><img src="~/Content/M/img/gn_order.png" /></div>
        <div class="weui-cell__bd gnname">
            <p>我的订单</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access" href="~/WeiXinAreas/Main/TX">
        <div class="weui-cell__hd gnimg"><img src="~/Content/M/img/gn_withdrawal.png" /></div>
        <div class="weui-cell__bd gnname">
            <p>我要提现</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access" href="~/WeiXinAreas/Main/Payments">
        <div class="weui-cell__hd gnimg"><img src="~/Content/M/img/gn_payli.png" /></div>
        <div class="weui-cell__bd gnname">
            <p>收支明细</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access" href="~/WeiXinAreas/Main/Team">
        <div class="weui-cell__hd gnimg"><img src="~/Content/M/img/gn_kehu.png" /></div>
        <div class="weui-cell__bd gnname">
            <p>团队阵容</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access" href="~/WeiXinAreas/Main/Poster">
        <div class="weui-cell__hd gnimg"><img src="~/Content/M/img/gn_pest.png" /></div>
        <div class="weui-cell__bd gnname">
            <p>专属海报</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access" href="~/WeiXinAreas/Main/shouquan">
        <div class="weui-cell__hd gnimg"><img src="~/Content/M/img/kc1.png" /></div>
        <div class="weui-cell__bd gnname">
            <p>授权证书</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    @*<a class="weui-cell weui-cell_access" href="~/WeiXinAreas/Main/HG">
            <div class="weui-cell__hd gnimg"><img src="~/Content/M/img/gn_withdrawal.png" /></div>
            <div class="weui-cell__bd gnname">
                <p>积分换购</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>*@
</div>
<div style="text-align:center; padding-top:10px;"><a href="tel:@ViewData["kefutel"]" style=" color:#9c9c9c; font-size:12px;">客服电话：@ViewData["kefutel"]</a></div>


@*<a href="#" onclick="dkd()" class="weui-btn weui-btn_warn" style="margin:20px;">会员退出</a>*@

<div style="height:60px;"></div>
<div class="weui-tabbar" style="position:fixed;">
    <a href="~/WeiXinAreas/Main/Index" class="weui-tabbar__item">
        <div class="weui-tabbar__icon">
            <img src="~/Content/M/img/home@2x.png" alt="">
        </div>
        <p class="weui-tabbar__label">首页</p>
    </a>
    <a href="~/WeiXinAreas/Main/NewsList" class="weui-tabbar__item">
        <div class="weui-tabbar__icon">
            <img src="~/Content/M/img/kecheng@2x.png" alt="">
        </div>
        <p class="weui-tabbar__label">新闻</p>
    </a>
    <a href="javascript:;" class="weui-tabbar__item weui-bar__item--on">
        <div class="weui-tabbar__icon">
            <img src="~/Content/M/img/person@2x_.png" alt="">
        </div>
        <p class="weui-tabbar__label">个人</p>
    </a>
</div>

@section footScript
{
    <script type="text/javascript">
        function dkd() {
            $.confirm("确定要退出当前用户吗？", function () {
                //点击确认后的回调函数
                window.location.href = "HYTC";
                //return true;
            }, function () {
                //点击取消后的回调函数
                return false;
            });

        }
    </script>
}
